cel = float(input())
fah = 9 / 5 * cel + 32
print("%.1f" % (fah))